home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / lan / 3c589x.zip / 3C589X.EXE / QINSTALL / SERVER / INSTALL.BAT next >
DOS Batch File  |  1995-08-11  |  877b  |  30 lines

  1. @echo off
  2. if "x%1"=="x" goto usage
  3. ..\..\@\filcpy ..\..\@\filcpy.exe %1\filcpy.exe
  4. if exist %1\filcpy.exe goto targetok
  5. mkdir %1
  6. ..\..\@\filcpy ..\..\@\filcpy.exe %1\filcpy.exe
  7. if not exist %1\filcpy.exe goto badTarget
  8. :targetok
  9. echo The files are being copied to the target directory.
  10. %1\filcpy ..\..\@\filedt.exe %1\filedt.exe
  11. %1\filcpy ..\..\@\filfnd.exe %1\filfnd.exe
  12. %1\filcpy update.exe %1\update.exe
  13. %1\filcpy 3script.dat %1\3script.dat
  14. if exist %1\3C589\update.exe goto 3C589ok
  15. mkdir %1\3C589
  16. :3C589ok
  17. %1\filcpy 3C589\update.exe %1\3C589\update.exe
  18. %1\filcpy ..\..\netware\odi\3C589.com %1\3C589\3C589.com
  19. echo The files have been copied successfully.
  20. goto done
  21.  
  22. :badTarget
  23. echo There is a problem with the target directory. 
  24.  
  25. :usage
  26. echo You must give a target directory on the command line.
  27.  
  28. :done
  29. rem %VER3C589 SERVER\INSTALL.BAT v1.0a
  30.